/*
 *FifoPolicy.h 
 *
 * Classe que implementa politica de descarte baseada em uma fila, first in first out
 *
 */

#ifndef FIFOPOLICY_H_
#define FIFOPOLICY_H_

#include "storage/IPolicy.h"
#include <queue>
#include <ibrdtn/data/BundleID.h>


namespace dtn{
	namespace storage{
		class FifoPolicy : public IPolicy{
			public:
				FifoPolicy();
				~FifoPolicy();

				virtual dtn::data::BundleID& getProximoRemover();

				void  pegarInformacoesBundle(const dtn::data::Bundle& bundle);
			private:
				std::queue<dtn::data::BundleID> fila;
		};
	}
}

#endif /* FIFOPOLICY_H_ */
